package com.jdyfy.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jdyfy.entity.Project;
import com.jdyfy.entity.WinNotiProject;
import com.jdyfy.mapper.ProjectMapper;
import com.jdyfy.mapper.WinNotiProjectMapper;
import com.jdyfy.service.WinNotiProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WinNotiProjectServiceImpl extends ServiceImpl<WinNotiProjectMapper, WinNotiProject> implements WinNotiProjectService {

    @Autowired
    private ProjectMapper projectMapper;

    // 通过成交人查询中标项目
    public List<Project> getWinnotiProjectByDealer(String departmentName) {
        return projectMapper.getWinnotiProjectByDealer(departmentName);
    }
}
